package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("/sys_logs")
public class Logs {
    @TableId(value = "ID",type= IdType.AUTO)
    private  Integer id;
    @TableField("LOGIN_ID")
    private String loginid;     //用户名称
    @TableField("/PRIORITY")
    private String priority;        //级别
    @TableField("/LOG_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date logdate;       //时间
    @TableField("/CLASS")
    private String classl;      //类名
    @TableField("/METHOD")
    private String method;      //方法名
    @TableField("/MSG")
    private String msg;     //信息


}
